#ifndef ROOM_H
#define ROOM_H

#include "wall.h"
#include <iostream>
#include <vector>

using namespace std;

class Wall;


class Room
{
public:
    Room(string name);
    void setCurrentTemperature(double temperature);
    void setDesiredTemperature(double temperature);
    void addWall(Wall *wall);

    void setCurrentPower(double input);
    void setCurrentPowerComplex(double input);

    void updateTemperatures();

    string name;

    double currentTemperature;
    double desiredTemperature;

    double newTemperature;

    double currentPower;
    double input;
    double maxPower;

    std::vector<Wall*> walls;

private:
    void countMaxPower();
    void countNewTemperature();
    void countNewTemperatureComplex();
};

#endif // ROOM_H
